package com.just.just_bankreputationsystem.Model;

import lombok.Data;

@Data
public class Bank {
    private int id;
    private String name;
    private double profit;
    private double profitRate;
//    信誉等级
    private String reputation;
//    是否违约 0表示违约，1表示不违约
    private String appointment;
    private int tid;
    private Type type;

//    public Bank(int id, String name, double profit, double profitRate, String reputation, String appointment,int tid,Type type) {
//        this.id = id;
//        this.name = name;
//        this.profit = profit;
//        this.profitRate = profitRate;
//        this.reputation = reputation;
//        this.appointment = appointment;
//        this.tid = tid;
//        this.type = type;
//    }
//
//    public Bank(int id, String name, double profit, double profitRate, String reputation, String appointment,int tid) {
//        this.id = id;
//        this.name = name;
//        this.profit = profit;
//        this.profitRate = profitRate;
//        this.reputation = reputation;
//        this.appointment = appointment;
//        this.tid = tid;
//    }
//     public Bank(int id, String name, double profit, double profitRate, String reputation, String appointment) {
//        this.id = id;
//        this.name = name;
//        this.profit = profit;
//        this.profitRate = profitRate;
//        this.reputation = reputation;
//        this.appointment = appointment;
//    }
}
